package com.spa.infrastructure.repository.po;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.spa.infrastructure.annotation.UrlParse;
import lombok.Data;

import java.util.Date;

/**
 * 订单详情表(OrderDetail)实体类
 *
 * @author lig
 * @since 2024-02-21 17:11:38
 */
@Data
@TableName("s_order_detail")
public class OrderDetailPO  extends BasePO {


    /**
     * 订单ID
     */
    @TableField(value = "order_id")
    private Long orderId;


    /**
     * 技师经度
     */
    @TableField(value = "massagist_lon")
    private String massagistLon;


    /**
     * 技师纬度
     */
    @TableField(value = "massagist_lat")
    private String massagistLat;


    /**
     * 姓名
     */
    @TableField(value = "address_name")
    private String addressName;


    /**
     * 手机号
     */
    @TableField(value = "address_phone")
    private String addressPhone;


    /** 所在地区 */
    @TableField(value = "address_region")
    private String addressRegion;

    /**
     * 详细地址
     */
    @TableField(value = "address_address")
    private String addressAddress;


    /**
     * 经度
     */
    @TableField(value = "address_lon")
    private String addressLon;


    /**
     * 纬度
     */
    @TableField(value = "address_lat")
    private String addressLat;


    /**
     * 性別限制
     */
    @TableField(value = "service_sex")
    private String serviceSex;


    /**
     * 推荐语
     */
    @TableField(value = "service_recommendations")
    private String serviceRecommendations;


    /**
     * 时长 单位:分钟
     */
    @TableField(value = "service_duration")
    private Integer serviceDuration;


    /**
     * 项目亮点
     */
    @TableField(value = "service_highlights")
    private String serviceHighlights;


    /**
     * 项目亮点标签，逗号分隔
     */
    @TableField(value = "service_highlights_tar")
    private String serviceHighlightsTar;


    /**
     * 项目图片（1-6张）
     */
    @TableField(value = "service_img")
    @UrlParse(hasMore = true)
    private String serviceImg;


    /**
     * 项目封面
     */
    @TableField(value = "service_cover")
    @UrlParse
    private String serviceCover;


    /**
     * 禁忌说明
     */
    @TableField(value = "service_note")
    private String serviceNote;


    /**
     * 下单须知
     */
    @TableField(value = "service_declaration")
    private String serviceDeclaration;


    /**
     * 金额
     */
    @TableField(value = "service_price")
    private Integer servicePrice;


    /**
     * 折扣金额
     */
    @TableField(value = "service_discount_price")
    private Integer serviceDiscountPrice;


    /**
     * 适用人群
     */
    @TableField(value = "service_target_group")
    private String serviceTargetGroup;

    /**
     * 扩展字段1
     */
    @TableField(value = "extend1")
    private String extend1;


    /**
     * 扩展字段2
     */
    @TableField(value = "extend2")
    private String extend2;


    /**
     * 扩展字段3
     */
    @TableField(value = "extend3")
    private String extend3;


    /**
     * 扩展字段4
     */
    @TableField(value = "extend4")
    private String extend4;


    /**
     * 扩展字段5
     */
    @TableField(value = "extend5")
    private String extend5;


}

